package com.neu.doc;

import java.math.BigDecimal;
import java.util.List;

import com.neu.domain.ShoppingOrderGoodsList;

import io.swagger.annotations.ApiModelProperty;

public class WxOrderController_orderlist {
	@ApiModelProperty(value="订单列表分页数据",dataType="ShoppingorderListDate")
	private ShoppingorderListDate data; 
	@ApiModelProperty(value="错误编码，成功是0",dataType="integer")
	private Integer errno=0;
	@ApiModelProperty(value="错误信息描述",dataType="string")
	private String errmsg="成功";
	
	public Integer getErrno() {
		return errno;
	}
	public void setErrno(Integer errno) {
		this.errno = errno;
	}
	public String getErrmsg() {
		return errmsg;
	}
	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}
	public  ShoppingorderListDate getData() {
		return data;
	}
	public void setData(ShoppingorderListDate data) {
		this.data = data;
	}
	
	public class  ShoppingorderListDate{
		@ApiModelProperty(value="数据总数",dataType="int")
		private int total;
		@ApiModelProperty(value="数据总页数",dataType="int")
	    private int pages;
		@ApiModelProperty(value="数据一页显示数",dataType="int")
	    private int limit;
		@ApiModelProperty(value="数据页数",dataType="int")
	    private int page;
		@ApiModelProperty(value="订单列表",dataType="Orderlist")
	    private Orderlist list;
	    public int getTotal() {
			return total;
		}
		public void setTotal(int total) {
			this.total = total;
		}
		public int getPages() {
			return pages;
		}
		public void setPages(int pages) {
			this.pages = pages;
		}
		public int getLimit() {
			return limit;
		}
		public void setLimit(int limit) {
			this.limit = limit;
		}
		public int getPage() {
			return page;
		}
		public void setPage(int page) {
			this.page = page;
		}
		public Orderlist getList() {
			return list;
		}
		public void setList(Orderlist list) {
			this.list = list;
		}
		public class Orderlist{
			@ApiModelProperty(value="id编号",dataType="integer")
			private Integer id;
			@ApiModelProperty(value="订单状态",dataType="string")
			private String orderStatusText;
			@ApiModelProperty(value="是否分组",dataType="boolean")
			private boolean isGroupin=false;
			@ApiModelProperty(value="订单编号",dataType="string")
			private String orderSn;
			@ApiModelProperty(value="实付费用",dataType="BigDecimal")
			private  BigDecimal actualPrice;
			@ApiModelProperty(value="订单商品列表",dataType="BigDecimal")
			private List<ShoppingOrderGoodsList> goodsList;
			private handleOptionclass handleOption;
			
			public handleOptionclass getHandleOption() {
				return handleOption;
			}
			public void setHandleOption(handleOptionclass handleOption) {
				this.handleOption = handleOption;
			}
			public Integer getId() {
				return id;
			}
			public void setId(Integer id) {
				this.id = id;
			}
			public String getOrderStatusText() {
				return orderStatusText;
			}
			public void setOrderStatusText(String orderStatusText) {
				this.orderStatusText = orderStatusText;
			}
			public boolean isGroupin() {
				return isGroupin;
			}
			public void setGroupin(boolean isGroupin) {
				this.isGroupin = isGroupin;
			}
			public String getOrderSn() {
				return orderSn;
			}
			public void setOrderSn(String orderSn) {
				this.orderSn = orderSn;
			}
			public BigDecimal getActualPrice() {
				return actualPrice;
			}
			public void setActualPrice(BigDecimal actualPrice) {
				this.actualPrice = actualPrice;
			}
			public List<ShoppingOrderGoodsList> getGoodsList() {
				return goodsList;
			}
			public void setGoodsList(List<ShoppingOrderGoodsList> goodsList) {
				this.goodsList = goodsList;
			}
			public class handleOptionclass{
				@ApiModelProperty(value="取消订单",dataType=" boolean")
				private boolean cancel;
				@ApiModelProperty(value="逻辑删除",dataType=" boolean")
				private boolean delete=false;
				@ApiModelProperty(value="支付",dataType=" boolean")
				private boolean pay;
				@ApiModelProperty(value="评价",dataType=" boolean")
				private boolean comment=false;
				@ApiModelProperty(value="确认收货",dataType=" boolean")
				private boolean confirm=false;
				@ApiModelProperty(value="支付",dataType=" boolean")
				private boolean refund=false;
				@ApiModelProperty(value="购买",dataType=" boolean")
				private boolean rebuy=false;
				public boolean isCancel() {
					return cancel;
				}
				public void setCancel(boolean cancel) {
					this.cancel = cancel;
				}
				public boolean isDelete() {
					return delete;
				}
				public void setDelete(boolean delete) {
					this.delete = delete;
				}
				public boolean isPay() {
					return pay;
				}
				public void setPay(boolean pay) {
					this.pay = pay;
				}
				public boolean isComment() {
					return comment;
				}
				public void setComment(boolean comment) {
					this.comment = comment;
				}
				public boolean isConfirm() {
					return confirm;
				}
				public void setConfirm(boolean confirm) {
					this.confirm = confirm;
				}
				public boolean isRefund() {
					return refund;
				}
				public void setRefund(boolean refund) {
					this.refund = refund;
				}
				public boolean isRebuy() {
					return rebuy;
				}
				public void setRebuy(boolean rebuy) {
					this.rebuy = rebuy;
				}
				
			}
			
			
		}
		

	}
}